package com.guangyunl.compare;

public class Demo01Compare {
    public static void main(String[] args) {
        int i = 10;
        int j = 20;
        System.out.println("====================");
        System.out.println("i 的值为 10");
        System.out.println("j 的值为 20");
        System.out.println("====================");
        boolean result01 = i == j;
        System.out.println("result01 = " + result01); // false
        System.out.println("i >  j :" + (i > j)); // false
        System.out.println("i <  j :" + (i < j)); // true
        System.out.println("i >= j :" + (i >= j)); // false
        System.out.println("i <= j :" + (i <= j)); // true
        System.out.println("i == j :" + (i == j)); // false
        System.out.println("i != j :" + (i != j)); // true
        System.out.println("====================");
    }
}
